package cn.infomany.functions;

import org.beetl.core.Context;
import org.beetl.core.Function;

public class FloorFunction implements Function {

    public Integer call(Object[] params, Context ctx) {
        return Double.valueOf(Math.floor((Double) params[0])).intValue();
    }
}